--[[
	--获取赠送记录列表
]]
local filename = "getgiverecordlist.lua"

local skynet = require "skynet"
local filelog =require "filelog"

local service = nil
local CMD = {
	service = nil
}

function CMD.process(rid, msgbody)
	if not service then
		service = CMD.service
	end

	local response = skynet.call(".givesystem", "lua", "getgiverecordlist", rid)
    if not response then
        return {retcode = -1, retstr = "获取赠送记录列表失败"}
    end

    return {giverecord_list = response}
end

return CMD